import { GameConfig } from "../configs/GameConfig";
import { UIStack } from "../etc/UIStack";
import { MainUI } from "../ui/MainUI";
import { ItemModuleData } from "./ItemModule";

export class GuiModuleC extends ModuleC<GuiModuleS, null>{
    private mainUI:MainUI
    static uiStack:UIScript[] = []

    protected onStart(): void {
        this.mainUI = UIStack.setDefault(MainUI)
    }

    mainUIVisible():boolean{
        return this.mainUI.visible
    }

}

export class GuiModuleS extends ModuleS<GuiModuleC, null>{
    
}